package com.xl6667.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xl6667.domain.ResponseResult;
import com.xl6667.domain.entity.Category;

import java.util.List;

/**
* @author 熊磊
* @description 针对表【sg_category(分类表)】的数据库操作Service
* @createDate 2024-03-14 16:56:24
*/
public interface CategoryService extends IService<Category> {

    ResponseResult getCategoryList();

    ResponseResult listAllCategory();

    ResponseResult addCategory(Category category);

    ResponseResult delCAtegory(List<Long> ids);

    ResponseResult getCategory(Long id);

    ResponseResult putCategory(Category category);

    ResponseResult listCategory(Integer pageNum, Integer pageSize, String name, String status);

    ResponseResult changeStatusCategory(Category category);
}
